package com.marktotop.learnone;

import com.marktotop.learnone.service.UserService;
import com.marktotop.learnone.service.UserServiceImpl;

/**
 * 实例工厂类
 * @author WXLD
 * @data 2021/4/17 - 13:46
 */
public class InstanceFactory {

    public  UserService getService(){
        System.out.println("instance factory create Object....");
        return new UserServiceImpl();
    }
}
